<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../include/taglibs.jsp"%>

<fmt:message key="menu.mainPage" var="mainPage" scope="page"/>
<fmt:message key="menu.loggedInAs" var="loggedInAs" scope="page"/>
<fmt:message key="menu.logout" var="logout" scope="page"/>

<c:url var="mainUrl" value="/" />
<c:url var="logoutUrl" value="/logout" />

<div id="menu">
<a href="${mainUrl}">${mainPage}</a>
<div class="logout">${loggedInAs} ${fn:escapeXml(playerName)} | <a href="${logoutUrl}">${logout}</a></div>
</div>